package com.bdqn.mapper;

import com.bdqn.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {

    /**
     * 查询信息
     * @param supCode
     * @param supName
     * @return
     */
    public List<Supplier> getSupplier(@Param("supCode") String supCode,@Param("supName") String supName,@Param("pageIndex") Integer pageIndex,@Param("pageSize") int pageSize);

    /**
     * 获取总数
     * @param supCode
     * @param supName
     * @return
     */
    public int getSupplierCount(@Param("supCode") String supCode,@Param("supName") String supName);
}
